<?php get_header(); ?>

	<div id="main">

		<?php if (have_posts()) : ?>
			<?php while (have_posts()) : the_post(); ?>
			
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				
				<?php the_content('Continue reading this post &raquo;'); ?>
				
				<?php if (function_exists('the_tags')) { ?>
					<p class="tags"><?php the_tags('',', ',''); ?></p>
				<?php } ?>
								
				<p class="meta">
					<span class="cal"><a href="<?php bloginfo('url'); ?>/<?php the_time('Y') ?>/<?php the_time('m') ?>/" title="View all posts for the month of <?php the_time('F, Y') ?>"><?php the_time('m/d/Y') ?></a></span> | 
					<span class="cat"><?php the_category(', ') ?></span> | 
					<span class="com"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>
					<?php edit_post_link('Edit','| ',''); ?>
				</p>
			
			<?php endwhile; ?>
			
			<ul class="postnav">
				<li class="left"><?php next_posts_link('&laquo; Earlier Posts') ?>&nbsp;</li>
				<li class="right">&nbsp;<?php previous_posts_link('Later Posts &raquo;') ?></li>
			</ul>
			
		<?php else : ?>
			<h2>File Not Found</h2>
			<p>Sorry, but you are looking for something that just isn't here.</p>
			<?php include_once (TEMPLATEPATH . "/searchform.php"); ?>
		<?php endif; ?>
	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>